	<layout name="newlayout" />
	<div id="main-content"> <!-- Main Content Section with everything -->
			<!-- Page Head -->
			<div class="content-box"><!-- Start Content Box -->
				<div class="content-box-header">
					<h3>消息列表</h3>
					<div class="clear"></div>
				</div> <!-- End .content-box-header -->
				<div class="content-box-content">
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						<div class="notification attention png_bg">
							<a href="#" class="close"><img src="__IMG__cross_grey_small.png" title="Close this notification" alt="close" /></a>
							<div>
								提示！！
							</div>
						</div>
						<table>
							<thead>
								<tr>
								   <th>ID</th>
								   <th>名称</th>
								   <th>EMAIL</th>
								   <th>内容</th>
								   <th>日期</th>
								   <th>操作</th>
								</tr>
							</thead>
							<tfoot>
								<tr>
									<td colspan="6">
										<div class="bulk-actions align-left">
										</div>
										<div class="pagination">
										{$show}
										</div> <!-- End .pagination -->
										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
							<tbody>
							<form action="" method="post" id="listorder">
									<foreach name="list" item="vo">
										<tr>
											<td>{$vo['id']}</td>
											<td >{$vo['name']}</td>
											<td>{$vo.email}</td>
											<td>{$vo.content}</td>
											<td>{$vo.creat_date}</td>
											<td>
												 <a href="javascript:"  title="Delete"><img src="__IMG__cross.png" alt="Delete"  onclick="imgDe({$vo.id});"/></a> 
											</td>
										</tr>
									</foreach>
							</form>
							</tbody>
						</table>
					</div> 
				</div> 
			</div> 
		</div> 
				</div>		
<script>
	
//删除文章
function imgDe(id){
	  if(confirm("确定删除?")){
		  $.post("/admin/message/messageDe",{id:id},function(data){
	        	 location.reload();
	             });     
		  };
	  }

	</script>